<?php

use Illuminate\Database\Seeder;

class UserdetailTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $data = [];
        for($i = 0; $i < 1000; $i++)
        {
            $temp['name'] = str_random(6);
            $data[] = $temp;
        }
        DB::table('userdetail') -> insert($data);
    }
}
